﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace Stockholm.SOA.Kaskelot.WCF.FaultContracts
{
    [DataContract]
    public class ErrorInformation
    {
        [DataMember]
        public string Message { get; set; }

        [DataMember]
        public string ServiceError { get; set; }

        public override string ToString()
        {
            return string.Format("ServiceError: {0}. Message {1}", this.ServiceError, this.Message);
        }
    }
}
